package com.kingdee.eas.basedata.org;

import com.kingdee.bos.BOSException;
//import com.kingdee.bos.metadata.*;
import com.kingdee.bos.framework.*;
import com.kingdee.bos.util.*;
import com.kingdee.bos.Context;

import java.lang.String;
import com.kingdee.bos.util.*;
import com.kingdee.bos.metadata.entity.EntityViewInfo;
import com.kingdee.eas.common.EASBizException;
import com.kingdee.bos.dao.IObjectPK;
import com.kingdee.bos.Context;
import com.kingdee.bos.BOSException;
import com.kingdee.eas.framework.CoreBaseInfo;
import com.kingdee.bos.framework.*;
import com.kingdee.eas.framework.IDataBase;
import com.kingdee.bos.metadata.entity.SelectorItemCollection;
import com.kingdee.eas.framework.CoreBaseCollection;

public interface IOrgTree extends IDataBase
{
    public OrgTreeInfo getOrgTreeInfo(IObjectPK pk) throws BOSException, EASBizException;
    public OrgTreeInfo getOrgTreeInfo(IObjectPK pk, SelectorItemCollection selector) throws BOSException, EASBizException;
    public OrgTreeCollection getOrgTreeCollection() throws BOSException;
    public OrgTreeCollection getOrgTreeCollection(EntityViewInfo view) throws BOSException;
    public OrgTreeCollection getCollectionWithType(OrgType orgType) throws BOSException, EASBizException;
    public OrgTreeInfo getOrgTreeInfo(String oql) throws BOSException, EASBizException;
    public OrgTreeCollection getOrgTreeCollection(String oql) throws BOSException;
    public OrgTreeCollection getCollectionWithType(OrgViewType orgViewType) throws BOSException, EASBizException;
    public OrgTreeCollection getUnionCollection() throws BOSException;
    public void setTreeHide(String id) throws BOSException, EASBizException;
    public void setTreeDisplay(String id) throws BOSException, EASBizException;
}